/**
 * Created with  SublimeText
 * @Author:      Lyle
 * @DateTime:    2017-01-17 23:01:07
 * @Description: 
 */

import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import AdminUserList from '../components/AdminUserList'
import * as AdminUserListActions from '../actions/adminUserList'

function mapStateToProps(state) {
    return {
        adminUserListState: state.adminUserListState
    }
}

function mapDispatchToProps(dispatch) {
    return bindActionCreators(AdminUserListActions, dispatch)
}

export default connect(mapStateToProps, mapDispatchToProps)(AdminUserList)
